﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace thousandClear.Util.Generator
{
    public class CodeGenerator
    {
        public string GenerateRegCode()
        {
            Random rnd = new Random((int)DateTime.Now.Ticks);
            int code = rnd.Next(100000, 999999);

            return code.ToString();
        }
    }
}
